﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Jaqen.Lifenear.Contracts
{
    [ServiceContract]
    public interface IUserService
    {
        //http://www.cnblogs.com/artech/archive/2007/02/26/656901.html
        //http://blog.csdn.net/liang4571231/article/details/7624167
        //盒子比价网，比价搜索引擎：想找一个产品，但是每个网站去打开搜索很麻烦。自动搜取京东，亚马逊，易讯，新蛋等主要网站的产品报价，是否有货，历史价格等消息。主要以广告盈利

        [OperationContract(Name="UserIdLogin")]
        int UserLogin(int userId);
        
        [OperationContract(Name="UserNameLogin")]
        int UserLogin(string userName,string userPwd);

        [OperationContract(Name = "UserRegiste")]
        int UserRegiste(string userName, string userPwd);
    }
}
